<div class="my-desktop-window" id="<?php echo $this->window->getId();?>">
    <div class="window-top-bar">
        <span class="window-icon"><img alt="icono" src="/images/icons/16x16/view-refresh.png"></span>
        <span class="window-title"><?php echo $this->window->getTitle(); ?></span>
        <span class="close-button"><img alt="icono" src="/images/icons/16x16/emblem-unreadable.png"></span>
        <span class="maximize-button"><img alt="icono" src="/images/icons/16x16/list-add.png"></span>
        <span class="fold-button"><img alt="icono" src="/images/icons/16x16/list-remove.png"></span>
    </div>
    <div id="window-overlay"/>
    <script type="text/x-jquery-tmpl" id="<?php echo $this->window->getId();?>-window-modal-box-template">
        <div class="modal-box" style="display: none;">
            <div class="title">
                <span class="text">${title}</span>
                <span class="close-button">
                    <img alt="icono" src="/images/icons/16x16/emblem-unreadable.png">
                </span>
                <span>&nbsp;</span>
            </div>
            <div class="msg">
                ${msg}
            </div>
        </div>
    </script>
    <?php if ($this->window->getMenu() instanceof My_Html_Menu): ?>
        <div class="window-menu">
            <?php echo $this->window->getMenu(); ?>
        </div>
    <?php endif; ?>
    <div class="window-contents">
        <div class="clear"></div>
        <?php echo $this->window->getContents(); ?>
        <div class="clear"></div>
    </div>
    <div class="window-status-bar clear">
        <span class="status-bar-icon">#</span>
        <span class="status-bar-msg">Status messages...</span>
        <span class="resize-anchor"></span>
    </div>
</div>